package com.xxx.springboot.copy;

public class Sub3 implements Cloneable {

	private int sex;
	private String company;

	public int getSex() {
		return sex;
	}

	public void setSex(int sex) {
		this.sex = sex;
	}

	public String getCompany() {
		return company;
	}

	public void setCompany(String company) {
		this.company = company;
	}

	@Override
	public String toString() {
		return "Sub [sex=" + sex + ", company=" + company + "]";
	}

	// 实现clone()方法
	public Object clone() throws CloneNotSupportedException {
		return super.clone();
	}

}
